<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      >
<head th:replace="fragments/tabhead::headc"></head>
<style>
	.layui-col-md12 a{
		padding-left:10px;
	} 
	.msg-span{
		width:100%;
		text-align: center;
	}
	h1{
		font-size:24px;
	}
	.msg-span span{
		padding-top:10px;
	}
</style>
<body>

<th:block layout:fragment="content">

<div class="layui-row">
  
  <div class="layui-col-md12" style="height:50px;padding:15px 25px;">
   		<span>全部消息</span><a class="layui-table-link" href="/act/center/msg/index"><i class="layui-icon">&#xe65c;</i>返回上级</a>
  </div>
</div>
<div class="content-msg">

	 <div class="layui-row msg-span">
		  <div class="layui-col-md6 layui-col-md-offset3" style="height:60px;">
		   		<h1 th:text="${centerMsg.title}"></h1>
		   		<span th:text="${#dates.format(centerMsg.ctime,'yyyy-MM-dd HH:mm:ss')}"></span>
		  </div>
	 </div>
	 <hr class="layui-bg-black layui-col-md6 layui-col-md-offset3">
	 <div class="layui-row">
	 	  <div class="layui-col-md6 layui-col-md-offset3" style="height:700px;" id="content">
	 	  	<input type="hidden" id="contentHtml" th:attr="value=${centerMsg.content}" />
	 	  </div>
	 </div>
</div>
<script>
	$(function(){
		$("#content").html($("#contentHtml").val());
	});
	
</script>


<!--<div th:replace="/department/model::modelDiv"></div>-->
</th:block>
</body>
</html>